﻿using MediatR;
using MES.Server.API.Dto;
using MES.Server.API.Dto.Account;
using ReturnValue;

namespace MES.Server.API.Application.Command.Account
{
    /// <summary>
    /// 用户登录
    /// </summary>
    public class LoginCommand:IRequest<ApiResult<LoginDTO>>
    {
        /// <summary>
        /// 账号
        /// </summary>
        public string AccountName { get; set; } = "admin";
        /// <summary>
        /// 密码
        /// </summary>
        public string AccountPwd { get; set; } = "123";
    }
}
